<?php
function route_class()
{
    return str_replace('.', '-', Route::currentRouteName());
}

function responseJson($code,$data,$message)
{
    return [
        'status_code'=>$code,
        'data'=>$data,
        'message'=>$message
    ];
}